<div xmlns:th="http://www.thymeleaf.org">
    <div class="card-body" th:if="${pageInfo != null && pageInfo.list.size() != 0}">
        <table class="table table-striped mt-3">
            <tr>
                <td>部门</td>
                <td>档案编码</td>
                <td>员工姓名</td>
                <td>性别</td>
                <td>职位</td>
                <td>联系电话</td>
                <td>档案状态</td>
                <td>建档日期</td>
            </tr>
            <tr th:each="info:${pageInfo.list}">
                <td th:text="${info.oName}"></td>
                <td th:text="${info.aCode}"></td>
                <td th:text="${info.aName}"></td>
                <td th:text="${info.gender == 0} ? '女' : '男'"></td>
                <td th:text="${info.postName}"></td>
                <td th:text="${info.phone}"></td>
                <td th:text="${info.aStatus}"></td>
                <td th:text="${info.createdDate}"></td>
            </tr>
        </table>
        <div th:replace="common/comm :: #page ">
        </div>
    </div>
    <div th:if="${pageInfo == null || pageInfo.list.size() == 0}">
        暂时没有记录.....
    </div>
</div>

